package com.wwj.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wwj.springboot.annotation.LogAnnotation;
import com.wwj.springboot.entity.CmfzMenu;
import com.wwj.springboot.mapper.CmfzMenuMapper;
import com.wwj.springboot.service.CmfzMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CmfzMenuServiceImpl  extends ServiceImpl<CmfzMenuMapper, CmfzMenu> implements CmfzMenuService{

    @Resource
    private CmfzMenuMapper cmfzMenuMapper;

    //@AddCacheAnnotation
    @LogAnnotation(type="select",value="test")
    @Override
    public List<CmfzMenu> selectAll() {
        return cmfzMenuMapper.selectAll();
    }
}
